/** @odoo-module **/

import {patch} from "@web/core/utils/patch";
import { WebClient } from "@web/webclient/webclient";

// 17.0与16.0的patch使用也发生了变化
patch(WebClient.prototype, {
    setup(...args) {
        const title = document.title;
        super.setup(...args);
        this.title.setParts({ zopenerp: title });
    }
});
